<div class="formFieldContainer formFieldContainer<%= field %>">
  <div class="formFieldError">
    <label for="<%= entity %>_<%= field %>" generated="true" class="error"></label>
  </div>
  <div class="formfieldWrapper">
    <div class="formFieldLabel formFieldLabel<%= field %>">
      <%= form.label field %>
      <% if required %>
      <span class="requiredMarker">*</span>
      <% end %>
    </div>
    <div class="formFieldInput formFieldInput<%= field %>">
      <%= form.text_field field, :class => "txt_field" %>
    </div>
  </div>
</div>